package com.qf.service;

import com.qf.dto.PageSearchDTO;
import com.qf.entity.MallGoodsBrand;
import com.qf.vo.PageResult;
import com.qf.vo.Result;

import java.util.List;

/**
 * <p>title: com.qf.service</p>
 * <p>Company: wendao</p>
 * author zhuximing
 * date 2021/9/15
 * description:
 */
public interface IGoodsBrandService {
    // 分页以及数据展示
    public PageResult<MallGoodsBrand> selectByPage(PageSearchDTO<MallGoodsBrand> pageSearchDTO);

    // 添加保存品牌
    public Result save(MallGoodsBrand brand);
    //修改更新品牌
    Result update(MallGoodsBrand brand);
    //删除品牌
    Result delete(long id);
    // 批量删除品牌
    Result deleteList(List<MallGoodsBrand> brandList);
}